-- GENERATED SPELL FOR [Kor'kron Infiltrator] --


function spell0_31882(pUnit, Event) --@Sinister Strike,n/a--
pUnit:FullCastSpellOnTarget(15667,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31882', 594, 1)
end

function Sorts_31882(pUnit, Event)
local choix_sorts_31882 = math.random(0, 0)
if choix_sorts_31882 == 0 then
pUnit:RegisterEvent('spell0_31882', 1, 1)
end
end

function mob31882_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31882', math.random(1500, 3000), 1)
end

function mob31882_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31882_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31882_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31882, 1, 'mob31882_Action')
RegisterUnitEvent(31882, 2, 'mob31882_Leave')
RegisterUnitEvent(31882, 3, 'mob31882_Kill')
RegisterUnitEvent(31882, 4, 'mob31882_Die')
